@erick0412-dev/dsh-restart: DeepSeek Harness Process Restart and Task Resumption Plugin

The DeepSeek Harness plugin `@erick0412-dev/dsh-restart` provides controlled process restart and state recovery capabilities, supporting restarts through both the user interface and AI tool calls. Compatible with DSH 0.1.7+, it adopts the new slot and Session v4 specifications and features cross-platform native monitoring. The installation command is `dsh plugin --profile web add @erick0412-dev/dsh-restart`, and after a restart, tasks can be automatically resumed to prevent context loss.

Read More
dsh-restart: One-Click Restart and Verifiable Evidence for the DSH Process

`dsh-restart` is a DSH plugin designed to mitigate the risk of browser disconnection and service failure when DSH restarts. It performs a graceful exit via `ctx.appExit(0)` and selects an exit strategy based on the hosting method (Desktop, Launchd, or Supervisor) to ensure the service is automatically restarted. The plugin provides verifiable JSONL logs, a GUI control in the bottom-right corner, and an authentication mechanism, supporting one-click restart scheduling from the command line or web interface with delay, cancellation, and DryRun features.

Read More
DeepSeek Harness Restart Plugin

The `dsh-plugin-restart` plugin provides DeepSeek Harness (DSH) with a one-click restart feature that requires no terminal operations. By adding a restart card to the settings interface, it uses authenticated Same-Origin requests to replace the currently running `dsh web` process, enabling the page to reconnect automatically. The plugin addresses issues where configuration changes, port changes, or plugin hosts cannot be hot-reloaded, supports safe port takeover, and ensures the new instance is ready. It is simple to install and does not require administrator privileges. Restarting interrupts the current conversation, but detailed error messages and logging greatly simplify routine DSH maintenance.

Read More
DSH Self-Restart

The DSH Self-Service Restart plugin is designed to resolve the privilege and recovery challenges associated with restarting host processes. It leverages scheduled tasks to forcibly terminate process trees with elevated privileges and automatically restarts services with liveness probing, while frontend mechanisms deliver a transparent recovery experience for users. Core features include elevated restart, automatic frontend refresh, automatic discovery and resumption, and a mechanism to prevent self-triggering loops. The plugin exposes an HTTP API that supports manual scheduling, dry-run scanning, and task ledger management. It supports Windows only, manages ports, delays, and auto-resume policies via a configuration file, and is easy to install.

Read More
dsh-restart: DSH Web Process Restart and Plugin Management Tool

`dsh-restart` is a Web UI management plugin designed specifically for DeepSeek Harness (DSH), aiming to simplify the development workflow. It provides graphical features such as one-click process restart, plugin toggles, Git branch switching, and local reinstallation. By addressing issues like port conflicts and cumbersome manual maintenance, this plugin effectively improves development efficiency. Installation requires Node.js >= 20 and a pnpm environment, is licensed under the MIT License, and is suitable for all DSH developers.

Read More
dsh-restart-web: One-click safe restart of processes in the DSH Web settings panel.

# Introduction If you use DSH via the web interface, you have likely encountered moments where the page freezes or becomes unresponsive, or where you need to restart the process for a newly installed plugin or modified configuration to take effect. The conventional approach is to return to the terminal, find the process occupying port 3080 and terminate it, then manually start DSH, and finally refresh the browser page yourself. `dsh-restart-web` streamlines this workflow into a single button in the settings panel: clicking it safely restarts the entire DSH process, and the browser automatically refreshes and reconnects after approximately 5 seconds, allowing you to stay within the web interface the entire time. DSH follows the philosophy that "everything is a plugin," and such interface-level utilities are ideally suited to be implemented as plugins. The following sections introduce its features, installation methods, and working principles. # What is dsh-restart

Read More
dsh-restart: Adding Controlled Restart and Recovery Entry Points for DSH

dsh-restart is a plugin designed to restart the DeepSeek Harness (DSH) process, addressing the issue of needing to manually restart the process and refresh the page after configuration changes. This plugin offers a model tool `restart_harness`, a slash command `/restart`, a settings configuration card, and an "Immediate Restart" button. It also supports configuring automatic continuation prompts after restart and an optional watchdog feature for automatic recovery. Its core features include: 1. **Multiple Restart Methods**: Supports native Node.js restart, with an optional legacy method using PowerShell/WMI/taskkill (disabled by default). 2. **Security**: The restart interface only accepts same-origin requests from the loopback address (127.0.0.1/localhost), rejecting remote or reverse connections.

Read More